﻿using System;
using System.Collections.Generic;
using System.Text;
using vJine.Core;
using vJineCore_QuickStart.BML;

namespace vJineCore_QuickStart {
    public class QuickStart_AppConfig : QuickStart {
        public override void Start() {
            string type_full_name = AppConfig<MyConfig>.FullName;


            string type_AssemblyQualifiedName = AppConfig<MyConfig>.AssemblyQualifiedName;

            string app_settings_config = AppConfig.Get("myConfig", "default_config");
            string app_settings_config2 = AppConfig.Get("myConfig2", "default_config");

            MyConfig config_1 = AppConfig<MyConfig>.Get();





            MyConfig config_2 = AppConfig<MyConfig>.Get("my_config/_2");





            AppConfig<MyConfig>.Save(config_2, "my_config.xml");
            MyConfig custom_config = AppConfig<MyConfig>.Load("my_config.xml");





        }
    }
}
